//
//  UIColor+Hex.h
//
//  Created by apple on 2019/5/23.
//  Copyright © 2019 ds. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIColor (Hex)

/**
 *  将十六进制的颜色值转为UIColor
 *  @return UIColor
 */

+ (UIColor *)colorWithHexCode:(NSString *)hexString;
+ (UIColor *)colorWithHexCode:(NSString *)hexString alpha:(float)alpha;
-(NSString *)hexString;

@end

NS_ASSUME_NONNULL_END
